* lisp/tab-bar.el (tab-bar-mode-map): New keymap (bug#69578).
authorJuri Linkov <juri@linkov.net>
Fri, 5 Apr 2024 16:23:08 +0000 (19:23 +0300)
committerJuri Linkov <juri@linkov.net>
Fri, 5 Apr 2024 16:23:08 +0000 (19:23 +0300)
commit50fab7062d9edf1a2698f3d468dcbcd1c9a3ee9b
tree2b8c784261b93cfbbbb7675861fd07b142b115b1
parent4fc84cb23b6d671b44f18b8462e94c3bcfc3ee09
* lisp/tab-bar.el (tab-bar-mode-map): New keymap (bug#69578).

(tab-bar-select-tab-modifiers): Call tab-bar--undefine-keys
before set-default in :set of defcustom.
(tab-bar--define-keys, tab-bar--undefine-keys):
Change keybindings in tab-bar-mode-map instead of the global map.
Move checking of global-key-binding to tab-bar-mode--tab-key-bind.
(tab-bar-mode--tab-key-bind): New internal function.
lisp/tab-bar.el